/*
 * PageHeader.cpp
 *
 *  Created on: 15-Oct-2013
 *      Author: pridhvi
 */
#include "../Global/StructureHeaders.h"

PageHeader::PageHeader() {

}

PageHeader::PageHeader(int pageNo, int nextPageNum, int pageType) {
	this->pageNumber = pageNo;
	this->nextPageNum = nextPageNum;
	this->pageType = pageType;
}

string PageHeader::toString() {
	std::ostringstream mystream;
	mystream << "PAGE NUMBER:  " << pageNumber << endl << "NEXT PAGE NUMBER:  "
			<< nextPageNum << endl << "PAGE TYPE:  " << pageType << endl;
	return mystream.str();
}

